import Vue from "vue";
import VueRouter from "vue-router";
import Layout from '@/layout';

Vue.use(VueRouter);

const PATH_ROOT = '/App';

// 主页面路由
const HOME_ROUTER = [
    //主页面
    {
        path: '/',
        component: Layout,
        redirect: '/Home',
        meta: { title: '主页面', hidden: true },
        children: [
            {
                path: '/Home',
                meta: { title: '主页面', hidden: true },
                component: () => import('@/views/App/home.vue')
            }
        ]
    }

];

export default HOME_ROUTER;
